import RouteAutoConfig from "@/route/RouteAutoConfig.tsx";
import { ConfigProvider,theme } from 'antd';
import locale from 'antd/locale/zh_CN';
import 'dayjs/locale/zh-cn';
import {App as AntdMessagContext} from "antd";
function App() {

    return (
           <ConfigProvider
               locale={locale}
               theme={{
                   algorithm: [theme.darkAlgorithm],
                   token: {
                       colorBgLayout: "",
                       // colorBgBase: "#04080b"
                   }
               }}
           >
             <AntdMessagContext>
                 <RouteAutoConfig/>
             </AntdMessagContext>
           </ConfigProvider>
    )
}

export default App
